import { Link } from 'react-router-dom'
const HomeViews = (props) => {
  console.log(props)
  return (
    <div>
      <h1>Home</h1>
      <nav>
        <Link to="/sub">子页面</Link>|<Link to="/about">关于我们</Link>|<Link to="/jobs">招聘须知</Link>|<Link to="/news">新闻列表</Link>|<Link to="/one">One</Link>|<Link to="/one/two">Two</Link>
      </nav>
    </div>
  )
}
export default HomeViews
